package com.example.gybicycle.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;


@Data
@Schema(name ="日志")
public class SysLog {
    @Schema(description = "日志id")
    private Integer id;
    @Schema(description = "模块")
    private String mode;
    @Schema(description = "操作")
    private String action;
    @Schema(description = "状态")
    private Integer status;
    @Schema(description = "操作人")
    private String createBy;
    @Schema(description = "操作人")
    private String createName;
    @Schema(description = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    @Schema(description = "备注")
    private String remark;
}